/*
 * @LastEditors: 杜康
 * @LastEditTime: 2021-10-21 15:44:30
 */
import { Controller, Get } from '@nestjs/common';
import { ApiOperation, ApiTags } from '@nestjs/swagger';
import { AppService } from './app.service';

@Controller()
@ApiTags('App总模块')
export class AppController {
  constructor (private readonly appService: AppService) { }

  @Get()
  @ApiOperation({
    summary: '测试接口'
  })
  getHello(): string {
    return this.appService.getHello();
  }
}
